package com.shangze.test.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.shangze.test.R;
import com.shangze.test.bean.UserBean;

import java.util.List;

/**
 * Created by yjm on 2017/10/19.
 */

public class CircleFriendsAdapter extends BaseQuickAdapter<UserBean, BaseViewHolder> {
    public CircleFriendsAdapter(Context mContext, @Nullable List<UserBean> data) {
        super(R.layout.adapter_circlefriends, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, UserBean item) {
        helper.setText(R.id.textView, item.getName());
    }
}
